package com.zhang.zhangapp.view.mine;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.view.View;
import android.widget.TextView;

import com.zhang.zhangapp.R;
import com.zhang.zhangapp.utils.AppUtils;
import com.zhang.zhangapp.view.BaseAppCompatActivityActivity;

import org.xutils.view.annotation.ContentView;
import org.xutils.view.annotation.Event;
import org.xutils.view.annotation.ViewInject;
import org.xutils.x;

/**
 * Created by Administrator on 2018/4/16.
 */
@ContentView(R.layout.activity_abouts_us)
public class AboutUsActivity extends BaseAppCompatActivityActivity{

    @ViewInject(R.id.action_bar_title)
    TextView titleText;
    @ViewInject(R.id.version_text)
    TextView versionText;
    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        x.view().inject(this);
        versionText.setText(AppUtils.getVersionName(this));
        titleText.setText("关于我们");
    }

    @Event(type = View.OnClickListener.class,value = R.id.action_bar_left_image)
    private void back(View view){
        this.finish();
    }
}
